﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">

    <style type="text/css">
        .auto-style1 {
            width: 32px;
        }

        .auto-style2 {
            width: 234px;
        }
    </style>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div id="searcBox">
        <div id="searcBoxInner">
            <h1 id="searcBoxH1">Looking for Bank-owned Properties?</h1>
            <h2 id="searcBoxH2">Search properties across the country.</h2>
            <div id="decorationsDiv">
                <h5 class="searcH5">Search</h5>
            </div>
            <div id="searchDiv">

                <div id="searchInner">
                    <table style="width: 100%;" class="table2">
                        <tr>
                            <td class="auto-style2">
                                <asp:DropDownList ID="stateDdl" runat="server" Width="235px"></asp:DropDownList></td>
                            <td class="auto-style1">
                                <asp:Label ID="CountryLbl" CssClass="LblWhite" runat="server" Text="Country" Width="45px"></asp:Label></td>
                            <td>
                                <asp:TextBox ID="TextBox1" runat="server" Width="190px"></asp:TextBox></td>
                        </tr>
                    </table>
                    <table aria-multiline="False" class="table2">
                        <tr>
                            <td class="auto-style4">
                                <asp:Label ID="CityLbl" CssClass="LblWhite" runat="server" Text="City"></asp:Label></td>
                            <td class="auto-style3">
                                <asp:Label ID="zipLbl" CssClass="LblWhite" runat="server" Text="Zip code"></asp:Label></td>
                            <td>
                                <asp:Label ID="PropertyLbl" CssClass="LblWhite" runat="server" Text="Property Type"></asp:Label></td>
                        </tr>
                        <tr>
                            <td class="auto-style4">
                                <asp:TextBox ID="TextBox2" CssClass="txtBoxSearc" runat="server"></asp:TextBox></td>
                            <td class="auto-style3">
                                <asp:TextBox ID="TextBox3" CssClass="txtBoxSearc" runat="server"></asp:TextBox></td>
                            <td>
                                <asp:DropDownList ID="PropertyDdl" runat="server" Width="125px"></asp:DropDownList></td>
                        </tr>
                        <tr>
                            <td class="auto-style4">
                                <asp:Label ID="BedroomsLbl" CssClass="LblWhite" runat="server" Text="Bedrooms"></asp:Label></td>
                            <td class="auto-style3">
                                <asp:Label ID="BathroomsLbl" CssClass="LblWhite" runat="server" Text="Bathrooms"></asp:Label></td>
                            <td rowspan="2">
                                <asp:ImageButton ID="SearchBtn" runat="server" ImageUrl="~/Desing/SearchBtn.png" /></td>
                        </tr>
                        <tr>
                            <td>
                                <asp:DropDownList ID="BedroomsDdl" CssClass="tabel1" runat="server" Width="125px"></asp:DropDownList></td>
                            <td>
                                <asp:DropDownList ID="BathroomsDdl" CssClass="tabel1" runat="server" Width="125px"></asp:DropDownList></td>
                        </tr>
                    </table>
                </div>

            </div>
        </div>
    </div>
    <div id="slider"></div>
    <div id="pagesWrapper">
        <div id="leftWrap">
            <div id="infoBox1">1</div>
            <div id="infoBox2">2</div>
        </div>
        <div id="rightWrap">

            <div id="newsBox">
                <h1 class="NewsH1">Latest REO News</h1>
            </div>
            <div id="newsletterBox">
                <h2 class="white">Newsletter Sign-up</h2>
                <div id="newsletterDiv">

                    <%--     <asp:FormView ID="DetailsView1" runat="server" Height="50px" Width="125px" AutoGenerateRows="False" DataKeyNames="subscriberID" DataSourceID="ObjectDataSource1" DefaultMode="Insert">
                                  <InsertItemTemplate>
                                    </InsertItemTemplate>
                                <ItemTemplate>
                                 
                                </ItemTemplate>
                     
                                <InsertItemTemplate>
                                  
                                </InsertItemTemplate>
                                <ItemTemplate>
                                    <asp:LinkButton ID="NewsletterBtn" runat="server" CausesValidation="False" CommandName="New" Text="New"></asp:LinkButton>
                                </ItemTemplate>
                            
                      
                    </asp:FormView>--%>

                    <asp:FormView ID="FormView1" runat="server" DataSourceID="ObjectDataSource1" DefaultMode="Insert">
                        <ItemTemplate> <asp:TextBox ID="TextBox1" CssClass="txtBox" runat="server" Text='<%# Bind("name") %>'></asp:TextBox>
                            <asp:TextBox ID="TextBox2" CssClass="txtBox" runat="server" Text='<%# Bind("email") %>'></asp:TextBox>
                       </ItemTemplate>
                        <InsertItemTemplate>
                            <asp:TextBox ID="TextBox1" CssClass="txtBox" runat="server" Text='<%# Bind("name") %>'></asp:TextBox>
                            <asp:TextBox ID="TextBox2" CssClass="txtBox" runat="server" Text='<%# Bind("email") %>'></asp:TextBox>
                            <asp:Button ID="NewsletterBtn" runat="server" CausesValidation="True" CommandName="Insert" Text="Subscribe"></asp:Button>
                        </InsertItemTemplate>
                    </asp:FormView>
                    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" InsertMethod="Insert" OldValuesParameterFormatString="original_{0}" SelectMethod="GetSubscribers" TypeName="DataSet1TableAdapters.subscribersTableAdapter">
                        <InsertParameters>
                            <asp:Parameter Name="name" Type="String" />
                            <asp:Parameter Name="email" Type="String" />
                        </InsertParameters>
                    </asp:ObjectDataSource>
                    <%--<asp:TextBox ID="NewsletterNameTxt" CssClass="txtBox" runat="server" Text="Name"></asp:TextBox>
                    <br />
                    <asp:TextBox ID="NewsletterEmailTxt" CssClass="txtBox" runat="server" Text="Email"></asp:TextBox>
                    <br />
                    <asp:Button ID="NewsletterBtn" runat="server" Text="Subscribe" />--%>
                </div>
            </div>
        </div>
        <div class="clear"></div>
    </div>
</asp:Content>

